<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::mcc::CCheckerDraw Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../dd/d01/namespacecv_1_1mcc.html">mcc</a></li><li class="navelem"><a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html">CCheckerDraw</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="../../d5/df1/classcv_1_1mcc_1_1CCheckerDraw-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::mcc::CCheckerDraw Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../dd/d19/group__mcc.html">Macbeth Chart module</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>checker draw  
 <a href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html#details">More...</a></p>
<p><code>#include &lt;opencv2/mcc/checker_model.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a74e74fd3bae9d53a19fdf41fdbdca632"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html#a74e74fd3bae9d53a19fdf41fdbdca632">~CCheckerDraw</a> ()</td></tr>
<tr class="separator:a74e74fd3bae9d53a19fdf41fdbdca632"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c2337957f70be575e09405dd4e8b588"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html#a8c2337957f70be575e09405dd4e8b588">draw</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> img)=0</td></tr>
<tr class="memdesc:a8c2337957f70be575e09405dd4e8b588"><td class="mdescLeft"> </td><td class="mdescRight">Draws the checker to the given image.  <a href="#a8c2337957f70be575e09405dd4e8b588">More...</a><br/></td></tr>
<tr class="separator:a8c2337957f70be575e09405dd4e8b588"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a91ad0d968bc2ace2f12da27df8ee32d2"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html">CCheckerDraw</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html#a91ad0d968bc2ace2f12da27df8ee32d2">create</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/d3e/classcv_1_1mcc_1_1CChecker.html">CChecker</a> &gt; pChecker, <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">cv::Scalar</a> color=<a class="el" href="../../d6/d6e/group__imgproc__draw.html#ga16fe14b01ea8dffdf2405dc5534e5f15">CV_RGB</a>(0, 250, 0), int thickness=2)</td></tr>
<tr class="memdesc:a91ad0d968bc2ace2f12da27df8ee32d2"><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html" title="checker draw ">CCheckerDraw</a> object.  <a href="#a91ad0d968bc2ace2f12da27df8ee32d2">More...</a><br/></td></tr>
<tr class="separator:a91ad0d968bc2ace2f12da27df8ee32d2"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>checker draw </p>
<p>This class contains the functions for drawing a detected chart. This class expects a pointer to the checker which will be drawn by this object in the constructor and then later on whenever the draw function is called the checker will be drawn. Remember that it is not possible to change the checkers which will be draw by a given object, as it is decided in the constructor itself. If you want to draw some other object you can create a new <a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html" title="checker draw ">CCheckerDraw</a> instance.</p>
<p>The reason for this type of design is that in some videos we can assume that the checker is always in the same position, even if the image changes, so the drawing will always take place at the same position. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a74e74fd3bae9d53a19fdf41fdbdca632"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74e74fd3bae9d53a19fdf41fdbdca632">◆ </a></span>~CCheckerDraw()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::mcc::CCheckerDraw::~CCheckerDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a91ad0d968bc2ace2f12da27df8ee32d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91ad0d968bc2ace2f12da27df8ee32d2">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html">CCheckerDraw</a>&gt; cv::mcc::CCheckerDraw::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/d3e/classcv_1_1mcc_1_1CChecker.html">CChecker</a> &gt; </td>
          <td class="paramname"><em>pChecker</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">cv::Scalar</a> </td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="../../d6/d6e/group__imgproc__draw.html#ga16fe14b01ea8dffdf2405dc5534e5f15">CV_RGB</a>(0, 250, 0)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>thickness</em> = <code>2</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.mcc.CCheckerDraw_create(</td><td class="paramname">pChecker[, color[, thickness]]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html" title="checker draw ">CCheckerDraw</a> object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pChecker</td><td>The checker which will be drawn by this object. </td></tr>
    <tr><td class="paramname">color</td><td>The color by with which the squares of the checker will be drawn </td></tr>
    <tr><td class="paramname">thickness</td><td>The thickness with which the sqaures will be drawn </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the implementation of the <a class="el" href="../../d2/dee/classcv_1_1mcc_1_1CCheckerDraw.html" title="checker draw ">CCheckerDraw</a> </dd></dl>
</div>
</div>
<a id="a8c2337957f70be575e09405dd4e8b588"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c2337957f70be575e09405dd4e8b588">◆ </a></span>draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::mcc::CCheckerDraw::draw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> </td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>img</td><td>=</td><td>cv.mcc_CCheckerDraw.draw(</td><td class="paramname">img</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Draws the checker to the given image. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>image in color space BGR </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/mcc/<a class="el" href="../../d2/d15/checker__model_8hpp.html">checker_model.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
